package com.cms.common.model.repository;

import com.cms.common.model.entity.AdminUserRememberLogin;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;


@Repository
public interface AdminUserRememberLoginRepository extends JpaSpecificationExecutor<AdminUserRememberLogin>, JpaRepository<AdminUserRememberLogin, Long>, PagingAndSortingRepository<AdminUserRememberLogin, Long> {
    AdminUserRememberLogin findByCookieToken(String cookieToken);
    AdminUserRememberLogin findByAdminUserUuid(String adminUserUuid);
}